package cn.gaily.eduservice.service;

import cn.gaily.commonutils.R;
import cn.gaily.eduservice.entity.EduCourse;
import cn.gaily.eduservice.entity.vo.CourseInfoVo;
import cn.gaily.eduservice.entity.vo.CoursePublishVo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author xuchengwei
 * @since 2021-07-05
 */
public interface EduCourseService extends IService<EduCourse> {
    String saveCourseInfo(CourseInfoVo courseInfoVo);

    CourseInfoVo getCourseInfo(String courseId);

    void updateCourseInfo(CourseInfoVo courseInfoVo);

    CoursePublishVo getpublishCourseInfo(String id);

    int removeCourse(String courseId);
}
